import { MongoClient, Db } from "mongodb";
import { Entity } from "../../../../../Core/Module/Entity/Entity";
import { IAwake3 } from "../../../../../Core/Module/EventSystem/IAwakeSystem";
import { IDestroy } from "../../../../../Core/Module/EventSystem/IDestroySystem";
import { ImplementsInterface } from "../../../../../Decorator/Decorator";

@ImplementsInterface(IAwake3)
@ImplementsInterface(IDestroy)
export class DBComponent extends Entity implements IAwake3<string, string, number>, IDestroy {

    public static readonly TaskCount: number = 32;

    public dbConnection: string;
    public dbName: string;
    public zone: number;
    public mongoClient: MongoClient;
    public database: Db;

}